#region head comment
/*
Code generate by YhdSdkTool.
email:starpeng@vip.qq.com
2013-01-21 23:00:57:574 +08:00
*/
#endregion

using System;
using System.Xml.Serialization;
using System.Collections.Generic;

namespace YhdSdk.Domain.Category
{
    /// <summary>
    /// 类别属性信息
    /// </summary>
    [Serializable]
    public class CategoryAttributeInfo : YhdObject
    {
        /// <summary>
        /// 属性id
        /// </summary>
        [XmlElement("attributeId")]
        public Nullable<Int64> AttributeId
        {
            get;
            set;
        }

        /// <summary>
        /// 属性名称
        /// </summary>
        [XmlElement("attributeName")]
        public String AttributeName
        {
            get;
            set;
        }

        /// <summary>
        /// 属性值的类型，0：文本类型1：数字类型
        /// </summary>
        [XmlElement("valueType")]
        public Nullable<Int32> ValueType
        {
            get;
            set;
        }

        /// <summary>
        /// 编辑类型，0：文本类型 1:下拉列表类型（单选） 2：多选框（多选）
        /// </summary>
        [XmlElement("editType")]
        public Nullable<Int32> EditType
        {
            get;
            set;
        }

        /// <summary>
        /// 属性类型，0：正常属性  1：导购属性
        /// </summary>
        [XmlElement("type")]
        public Nullable<Int32> Type
        {
            get;
            set;
        }

        /// <summary>
        /// 单位
        /// </summary>
        [XmlElement("unit")]
        public String Unit
        {
            get;
            set;
        }

        /// <summary>
        /// 是否必填，0:是 1:不是
        /// </summary>
        [XmlElement("isMustEnter")]
        public Nullable<Int32> IsMustEnter
        {
            get;
            set;
        }

        /// <summary>
        /// 是否描述属性，0:不是 1:是
        /// </summary>
        [XmlElement("isDescribeAttribute")]
        public Nullable<Int32> IsDescribeAttribute
        {
            get;
            set;
        }

        /// <summary>
        /// 是否导购属性，0:不是 1:是
        /// </summary>
        [XmlElement("isGuideAttribute")]
        public Nullable<Int32> IsGuideAttribute
        {
            get;
            set;
        }

        /// <summary>
        /// 是否系列属性，0:不是 1:是
        /// </summary>
        [XmlElement("isSeriesAttribute")]
        public Nullable<Int32> IsSeriesAttribute
        {
            get;
            set;
        }

        /// <summary>
        /// 选项属性信息列表
        /// </summary>
        [XmlArray("attributeItemInfoList")]
        [XmlArrayItem("attributeItemInfo")]
        public List<AttributeItemInfo> AttributeItemInfoList
        {
            get;
            set;
        }

    }
}
